import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

const state = {
  loading: false, //加载loading(是否显示)加载loading
  loadingText: "", //文案
  navBarTitle: "", //导航栏头部标题
  isDDMobilePlatform: "", //钉钉环境是否在钉钉移动端中
  navBarRight: { //导航栏头部右侧
    title: '',
    callBackFun: {}, //点击的回掉方法
  }
}
const mutations = {}
const actions = {}

// // 引入模块路由变量等
// import router from "./router"

export default new Vuex.Store({
  state,
  mutations,
  actions,
});
